package com.cqeec.gams.mapper;

import org.apache.ibatis.annotations.Param;

import com.cqeec.gams.entity.Account;

/**
 * 账户Mapper
 *
 * @author 兰文杰
 * 
 */
public interface AccountMapper {
	public Account findLoginAccount(@Param("name") String name, @Param("password") String password);

	/**
	 * @param id
	 * @param password
	 * @return
	 */
	public int countByIdAndPassword(@Param("id") String id, @Param("password") String password);

	/**
	 * @param id
	 * @param password
	 */
	public void updatePassword(@Param("id") String id, @Param("password") String password);
}